var TweenData = require('geoTweenData');
var ArmatureAnimData = require('geoArmatureAnimData');
/**
 * 专用于geoArmatureSequencer的数据组件
 */
var CompleteType = cc.Enum({
    ANIMATION: -1,
    TWEEN: -1,
});

var SequenceData = cc.Class({
    extends: cc.Component,
    properties: {
        animData: {
            default: null,
            type: ArmatureAnimData,
        },
        tweenData: {
            default: null,
            type: TweenData,
        },
        sequenceCompleteType: {
            default: CompleteType.TWEEN,
            type: cc.Enum(CompleteType),
            tooltip: '序列以动画作为结束或是以变换作为结束'
        },
    }
});

SequenceData.CompleteType = CompleteType;

module.exports = SequenceData;
